package cn.wolfcode.wolf2w.repostiory;


import cn.wolfcode.wolf2w.domain.Region;
import org.springframework.data.mongodb.repository.MongoRepository;

import java.util.List;


public interface RegionRepository extends MongoRepository<Region, String>{

    /**
     *   //热门属性与序号排序
     * @param stateHot
     * @return
     */
    List<Region> findByIshotOrderBySequenceAsc(int stateHot);
}
